﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="AjaxToolkitCalendar.aspx.cs" Inherits="WebApplicationJQueryUI.Demo01.AjaxToolkitCalendar" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>Ajax Calendar Extender</h1>
    
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>

    <strong>Enter a date:</strong>
    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="TextBox1">
        </cc1:CalendarExtender>
    <asp:Button ID="Button1" runat="server" Text="Submit" onclick="Button1_Click" />  
    <br />
        <asp:Literal ID="LiteralResult" runat="server"></asp:Literal>    
    </ContentTemplate>
    </asp:UpdatePanel>  
</asp:Content>
